package com.woniuxy.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "RefuelingRecord",description = "加油记录表")
public class RefuelingRecord implements Serializable{
    @ApiModelProperty(value = "[自动增长]主键")
    private int id;
    @ApiModelProperty(value = "车辆ID")
    private Car car;
    @ApiModelProperty(value = "油气站ID")
    private CurrentUnit currentUnit;
    @ApiModelProperty(value = "[非空]加油日期")
    private Date oil_date;
    @ApiModelProperty(value = "油料标号ID")
    private Dictionary dictionary;
    @ApiModelProperty(value = "单价")
    private double unit_price;
    @ApiModelProperty(value = "总金额")
    private double total_amount;
    @ApiModelProperty(value = "本次里程")
    private int this_mil;
    @ApiModelProperty(value = "上次里程")
    private int last_mil;
    @ApiModelProperty(value = "本次油量")
    private double this_gas_volume;
    @ApiModelProperty(value = "上次油量")
    private double last_gas_volume;
    @ApiModelProperty(value = "经办人")
    private Driver driver;
    @ApiModelProperty(value = "备注")
    private String remarks;


}
